import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:h_flutter_119/page/MainBinding.dart';
import 'package:h_flutter_119/page/MainPage.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return ScreenUtilInit(
      designSize: const Size(750,1334),
      builder: (context, child) =>
        GetMaterialApp(
          title: 'HFlutter',
          theme: ThemeData(
            primarySwatch: Colors.blue,
          ),
          home:const MainPage(),
          initialBinding: MainBinding(),
        ),);
  }
}

